<?

?>



<TABLE WIDTH="765" BORDER=0 CELLPADDING=0 CELLSPACING=0>
<TR>
<TD>

<CENTER>
<BR>
<B>
	<? print $MSG_001; ?>

</B>
<BR>

<FORM NAME=registration ACTION="register.php?" METHOD="POST">
<TABLE WIDTH="700" BORDER="0" CELLPADDING="5">

<TR>
  <TD>
  </TD>
  <TD WIDTH="486" style="color:red;"><B>
<?php
		echo $TPL_errmsg;
?></B>
  </TD>
</TR>

<TR>
  <TD WIDTH="204" VALIGN="top" ALIGN="right">

  	<B>
  		<? print $MSG_002; ?>

  	</B>

  </TD>
  <TD WIDTH="486">
  	<INPUT TYPE=text NAME=TPL_name SIZE=40 MAXLENGTH=255 VALUE="<? echo $TPL_name; ?>">
  </TD>
</TR>

<TR>
  <TD WIDTH="204" VALIGN="top" ALIGN="right">
   <B>
   	<? print $MSG_003; ?>

   </B>

  </TD>
  <TD WIDTH="486">
  	<INPUT TYPE=text NAME=TPL_nick SIZE=20 MAXLENGTH=20  VALUE="<? echo $TPL_nick; ?>">
   	<? print $MSG_050; ?>
  </TD>
</TR>

<TR>
  <TD WIDTH="204" VALIGN="top" ALIGN="right">
   <B>
   <?
   	print $MSG_004;
   ?>

   </B>
  </TD>
  <TD WIDTH="486">
  	<INPUT TYPE=password NAME=TPL_password SIZE=20 MAXLENGTH=20 VALUE="">
<? print $MSG_050; ?>
  </TD>
</TR>

<TR>
  <TD WIDTH="204" VALIGN="top" ALIGN="right">
   <B>
  		<?
  			print $MSG_005;
  		?>

  		</B>

  </TD>
  <TD WIDTH="486">
  	<INPUT TYPE=password NAME=TPL_repeat_password SIZE=20 MAXLENGTH=20 VALUE="">
  </TD>
</TR>

<TR>
  <TD WIDTH="204"  VALIGN="top" ALIGN="right">
   <B>
   	<? print $MSG_006; ?>
   	</B>
  </TD>
  <TD WIDTH="486">
  	<INPUT TYPE=text NAME=TPL_email SIZE=50 MAXLENGTH=50 VALUE="<? echo $TPL_email; ?>">

  </TD>
</TR>

<TR>
  <TD WIDTH="204" VALIGN="top" ALIGN="right">
  	<B>
  	<?
  		print $MSG_252;
  	?>

  	</B>
  </TD>
  <TD WIDTH="486">
  	<INPUT TYPE=text NAME=TPL_birthdate SIZE=10 MAXLENGTH=10 VALUE="<? echo $TPL_birthdate; ?>">
  	<?
  		print $MSG_253;
  	?>

  </TD>
</TR>


<TR>
  <TD WIDTH="204" VALIGN="top" ALIGN="right">
  	<B>
  	<?
  		print $MSG_009;
  	?>

  	</B>

  </TD>
  <TD WIDTH="486">
  	<INPUT TYPE=text NAME=TPL_address SIZE=40 MAXLENGTH=255 VALUE="<? echo $TPL_address; ?>">
  </TD>
</TR>

<TR>
  <TD WIDTH="204" VALIGN="top" ALIGN="right">
   <B>
   <?
   		print $MSG_010;
   ?>

   </B>

  </TD>
  <TD WIDTH="486">
  	<INPUT TYPE=text NAME=TPL_city SIZE=25 MAXLENGTH=25 VALUE="<? echo $TPL_city; ?>">
  </TD>
</TR>

<TR>
  <TD WIDTH="204" VALIGN="top" ALIGN="right">
   <B>
   <?
   		print $MSG_011;
   ?>

   </B>

  </TD>
  <TD WIDTH="486">
  	<INPUT TYPE=text NAME=TPL_prov SIZE=10 MAXLENGTH=10 VALUE="<? echo $TPL_prov; ?>">
  </TD>
</TR>

<TR>
  <TD WIDTH="204" VALIGN="top" ALIGN="right">
   <B>
   <?
   		print $MSG_014;
   ?>

   		</B>

  </TD>
  <TD WIDTH="486">
   <SELECT NAME=TPL_country>
	<OPTION VALUE="">
		<? print $MSG_251; ?>
	</OPTION>

   <? echo $country; ?>

	</SELECT>
  </TD>
</TR>

<TR>
  <TD WIDTH="204" VALIGN="top" ALIGN="right">
   <B>
   <?
   		print $MSG_012;
   ?>

   </B>
  </TD>
  <TD WIDTH="486">
  	<INPUT TYPE=text NAME=TPL_zip SIZE=10 MAXLENGTH=8 VALUE="<? echo $TPL_zip; ?>">
  </TD>
</TR>

<TR>
  <TD WIDTH="204" VALIGN="top" ALIGN="right">
   <B>
   <?
   		print $MSG_013;
   ?>

   </B>
  </TD>
  <TD WIDTH="486">
  	<INPUT TYPE=text NAME=TPL_phone SIZE=40 MAXLENGTH=40 VALUE="<? echo $TPL_phone; ?>">
  </TD>
</TR>

<?
	if($SETTINGS[newsletter] == 1)
	{
?>
<TR>
  <TD WIDTH="204" align=right><B>
<?
   		print $MSG_608;
?>
								</B></TD>
  <TD WIDTH="486">
	<INPUT TYPE="radio" NAME="TPL_nletter" value="1"> Yes
	<INPUT TYPE="radio" NAME="TPL_nletter" value="2"> NO
 </TD>
 </TR>
<?
	}
?>
<?
				if( $NEWSLETTER ){
?>

           <TR>
              <TD WIDTH="204" VALIGN="top" ALIGN="right"><b>
                <?
   		print $MSG_526;
   ?>
                </b>
              <TD WIDTH="486">
              <INPUT TYPE="radio" NAME="TPL_nletter" value="1"> Yes
		<INPUT TYPE="radio" NAME="TPL_nletter" value="2"> NO
              </TD>
            </TR>
<?
	}
?>
 <TR>
 <TD WIDTH="204" VALIGN="top" ALIGN="right">&nbsp; </TD>
 <TD WIDTH="486">
	<?
		if($SETTINGS[showacceptancetext] == 1)
		{
			print nl2br(stripslashes($SETTINGS[acceptancetext]));
		}
	?>

	<BR><BR>
   <INPUT TYPE=submit NAME="">
   <INPUT TYPE=reset NAME="">
  </TD>
</TR>

<TR>
  <TD WIDTH="204">&nbsp;</TD>
  <TD WIDTH="486">
   <FONT FACE="Verdana,Helvetica,Arial" SIZE="2">
   <?
   	//print $MSG_508;
   ?>
   </FONT>
	<BR><BR>
	<INPUT TYPE=hidden NAME="action" VALUE="first">
	<INPUT type="hidden" name="TPL_id_hidden" value="<? echo $TPL_id_hidden; ?>">
	<INPUT type="hidden" name="TPL_nick_hidden" value="<? echo $TPL_nick_hidden; ?>">
	<INPUT type="hidden" name="TPL_password_hidden" value="<? echo $TPL_password_hidden; ?>">
	<INPUT type="hidden" name="TPL_name_hidden" value="<? echo $TPL_name_hidden; ?>">
	<INPUT type="hidden" name="TPL_email_hidden" value="<? echo $TPL_email_hidden; ?>">
  </TD>
</TR>
</TABLE>
</FORM>
</CENTER>
</TD>
</TR>
</TABLE>